/*
 * XML Type:  XControl
 * Namespace: http://www.seedwill.com/xul/widget/
 * Java type: com.seedwill.xul.widget.XControl
 *
 * Automatically generated - do not modify.
 */
package com.seedwill.xul.widget;


/**
 * An XML XControl(@http://www.seedwill.com/xul/widget/).
 *
 * This is a complex type.
 */
public interface XControl extends com.seedwill.xul.core.XIdentified
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XControl.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s790E6810E76A77BB212DD6D4DA094898").resolveHandle("xcontrol6749type");
    
    /**
     * Gets the "ctlType" element
     */
    java.lang.String getCtlType();
    
    /**
     * Gets (as xml) the "ctlType" element
     */
    org.apache.xmlbeans.XmlString xgetCtlType();
    
    /**
     * Sets the "ctlType" element
     */
    void setCtlType(java.lang.String ctlType);
    
    /**
     * Sets (as xml) the "ctlType" element
     */
    void xsetCtlType(org.apache.xmlbeans.XmlString ctlType);
    
    /**
     * Gets the "absLocation" element
     */
    com.seedwill.xul.core.XLocation getAbsLocation();
    
    /**
     * True if has "absLocation" element
     */
    boolean isSetAbsLocation();
    
    /**
     * Sets the "absLocation" element
     */
    void setAbsLocation(com.seedwill.xul.core.XLocation absLocation);
    
    /**
     * Appends and returns a new empty "absLocation" element
     */
    com.seedwill.xul.core.XLocation addNewAbsLocation();
    
    /**
     * Unsets the "absLocation" element
     */
    void unsetAbsLocation();
    
    /**
     * Gets the "absSize" element
     */
    com.seedwill.xul.core.XSize getAbsSize();
    
    /**
     * True if has "absSize" element
     */
    boolean isSetAbsSize();
    
    /**
     * Sets the "absSize" element
     */
    void setAbsSize(com.seedwill.xul.core.XSize absSize);
    
    /**
     * Appends and returns a new empty "absSize" element
     */
    com.seedwill.xul.core.XSize addNewAbsSize();
    
    /**
     * Unsets the "absSize" element
     */
    void unsetAbsSize();
    
    /**
     * Gets the "align" element
     */
    com.seedwill.xul.core.XCellAlign.Enum getAlign();
    
    /**
     * Gets (as xml) the "align" element
     */
    com.seedwill.xul.core.XCellAlign xgetAlign();
    
    /**
     * True if has "align" element
     */
    boolean isSetAlign();
    
    /**
     * Sets the "align" element
     */
    void setAlign(com.seedwill.xul.core.XCellAlign.Enum align);
    
    /**
     * Sets (as xml) the "align" element
     */
    void xsetAlign(com.seedwill.xul.core.XCellAlign align);
    
    /**
     * Unsets the "align" element
     */
    void unsetAlign();
    
    /**
     * Gets the "layout" element
     */
    com.seedwill.xul.core.XTableLayout getLayout();
    
    /**
     * True if has "layout" element
     */
    boolean isSetLayout();
    
    /**
     * Sets the "layout" element
     */
    void setLayout(com.seedwill.xul.core.XTableLayout layout);
    
    /**
     * Appends and returns a new empty "layout" element
     */
    com.seedwill.xul.core.XTableLayout addNewLayout();
    
    /**
     * Unsets the "layout" element
     */
    void unsetLayout();
    
    /**
     * Gets the "layoutData" element
     */
    com.seedwill.xul.core.XGridLayoutData getLayoutData();
    
    /**
     * True if has "layoutData" element
     */
    boolean isSetLayoutData();
    
    /**
     * Sets the "layoutData" element
     */
    void setLayoutData(com.seedwill.xul.core.XGridLayoutData layoutData);
    
    /**
     * Appends and returns a new empty "layoutData" element
     */
    com.seedwill.xul.core.XGridLayoutData addNewLayoutData();
    
    /**
     * Unsets the "layoutData" element
     */
    void unsetLayoutData();
    
    /**
     * Gets the "dbSource" element
     */
    com.seedwill.xul.core.XDBSource getDbSource();
    
    /**
     * True if has "dbSource" element
     */
    boolean isSetDbSource();
    
    /**
     * Sets the "dbSource" element
     */
    void setDbSource(com.seedwill.xul.core.XDBSource dbSource);
    
    /**
     * Appends and returns a new empty "dbSource" element
     */
    com.seedwill.xul.core.XDBSource addNewDbSource();
    
    /**
     * Unsets the "dbSource" element
     */
    void unsetDbSource();
    
    /**
     * Gets the "dbSchemaSource" element
     */
    com.seedwill.xul.core.XDBSchemaSource getDbSchemaSource();
    
    /**
     * True if has "dbSchemaSource" element
     */
    boolean isSetDbSchemaSource();
    
    /**
     * Sets the "dbSchemaSource" element
     */
    void setDbSchemaSource(com.seedwill.xul.core.XDBSchemaSource dbSchemaSource);
    
    /**
     * Appends and returns a new empty "dbSchemaSource" element
     */
    com.seedwill.xul.core.XDBSchemaSource addNewDbSchemaSource();
    
    /**
     * Unsets the "dbSchemaSource" element
     */
    void unsetDbSchemaSource();
    
    /**
     * Gets the "monoFlag" element
     */
    boolean getMonoFlag();
    
    /**
     * Gets (as xml) the "monoFlag" element
     */
    org.apache.xmlbeans.XmlBoolean xgetMonoFlag();
    
    /**
     * True if has "monoFlag" element
     */
    boolean isSetMonoFlag();
    
    /**
     * Sets the "monoFlag" element
     */
    void setMonoFlag(boolean monoFlag);
    
    /**
     * Sets (as xml) the "monoFlag" element
     */
    void xsetMonoFlag(org.apache.xmlbeans.XmlBoolean monoFlag);
    
    /**
     * Unsets the "monoFlag" element
     */
    void unsetMonoFlag();
    
    /**
     * Gets the "areaId" element
     */
    java.lang.String getAreaId();
    
    /**
     * Gets (as xml) the "areaId" element
     */
    org.apache.xmlbeans.XmlString xgetAreaId();
    
    /**
     * True if has "areaId" element
     */
    boolean isSetAreaId();
    
    /**
     * Sets the "areaId" element
     */
    void setAreaId(java.lang.String areaId);
    
    /**
     * Sets (as xml) the "areaId" element
     */
    void xsetAreaId(org.apache.xmlbeans.XmlString areaId);
    
    /**
     * Unsets the "areaId" element
     */
    void unsetAreaId();
    
    /**
     * Gets the "formId" element
     */
    java.lang.String getFormId();
    
    /**
     * Gets (as xml) the "formId" element
     */
    org.apache.xmlbeans.XmlString xgetFormId();
    
    /**
     * True if has "formId" element
     */
    boolean isSetFormId();
    
    /**
     * Sets the "formId" element
     */
    void setFormId(java.lang.String formId);
    
    /**
     * Sets (as xml) the "formId" element
     */
    void xsetFormId(org.apache.xmlbeans.XmlString formId);
    
    /**
     * Unsets the "formId" element
     */
    void unsetFormId();
    
    /**
     * Gets array of all "event" elements
     */
    com.seedwill.xul.widget.XEvent[] getEventArray();
    
    /**
     * Gets ith "event" element
     */
    com.seedwill.xul.widget.XEvent getEventArray(int i);
    
    /**
     * Returns number of "event" element
     */
    int sizeOfEventArray();
    
    /**
     * Sets array of all "event" element
     */
    void setEventArray(com.seedwill.xul.widget.XEvent[] eventArray);
    
    /**
     * Sets ith "event" element
     */
    void setEventArray(int i, com.seedwill.xul.widget.XEvent event);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "event" element
     */
    com.seedwill.xul.widget.XEvent insertNewEvent(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "event" element
     */
    com.seedwill.xul.widget.XEvent addNewEvent();
    
    /**
     * Removes the ith "event" element
     */
    void removeEvent(int i);
    
    /**
     * Gets the "visuable" attribute
     */
    boolean getVisuable();
    
    /**
     * Gets (as xml) the "visuable" attribute
     */
    org.apache.xmlbeans.XmlBoolean xgetVisuable();
    
    /**
     * True if has "visuable" attribute
     */
    boolean isSetVisuable();
    
    /**
     * Sets the "visuable" attribute
     */
    void setVisuable(boolean visuable);
    
    /**
     * Sets (as xml) the "visuable" attribute
     */
    void xsetVisuable(org.apache.xmlbeans.XmlBoolean visuable);
    
    /**
     * Unsets the "visuable" attribute
     */
    void unsetVisuable();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.seedwill.xul.widget.XControl newInstance() {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.seedwill.xul.widget.XControl newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.seedwill.xul.widget.XControl parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.seedwill.xul.widget.XControl parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.seedwill.xul.widget.XControl parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.seedwill.xul.widget.XControl parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.seedwill.xul.widget.XControl parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.seedwill.xul.widget.XControl parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.seedwill.xul.widget.XControl parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.seedwill.xul.widget.XControl parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.seedwill.xul.widget.XControl parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.seedwill.xul.widget.XControl parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.seedwill.xul.widget.XControl parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.seedwill.xul.widget.XControl parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.seedwill.xul.widget.XControl parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.seedwill.xul.widget.XControl parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.widget.XControl parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.widget.XControl parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.widget.XControl) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
